<header class="header">
	<div class="top-bar">
		<div class="container">
			<ul class="fleft user user-login">
				<li><a href="${site.dynamicPath}login.html">登陆</a></li>
				<li><a href="${site.dynamicPath}register.html">注册</a></li>
			</ul>
			<ul class="fleft user user-logout">
				<li>您好，<a href="${site.dynamicPath}" class="nickname"></a></li>
				<li class="master hide"><a target="_blank" href="${site.dynamicPath}admin/">管理后台</a></li>
				<li><a href="${site.dynamicPath}logout.html">退出登录</a></li>
			</ul>
			<ul class="fright">
				<li class="hide-in-mobile"><a href="${site.dynamicPath}case.html">案例提交</a></li>
				<li class="hide-in-mobile"><a href="http://tongji.baidu.com/web/welcome/ico?s=bd81f02e5329554415de9ee15f916a98" target="_blank">网站统计</a></li>
				<li class="hide-in-mobile"><a href="${site.sitePath}upload/api/overview-summary.html" target="_blank"> Java API</a></li>
				<li>
					<form action="${siteAttribute.searchPath!}">
						<input name="word" type="text" placeholder="这里输入关键词" size="10"/>
						<input type="submit" value="搜索"/>
					</form>
				</li>
			</ul>
			<div class="clearfix-before"></div>
		</div>
	</div>
	<div class="container">
		<a href="#" class="nav-icon"></a>
		<div class="logo">
			<a href="${site.sitePath}"><img src="${site.sitePath!}assets/images/logo.png" alt="Public CMS"/></a>
		</div>

		<span class="slogan"><@_sysConfigData code="site">${(object.slogan)!}</@_sysConfigData></span>
		<nav class="clearfix-before">
			<ul>
				<li><a href="${site.sitePath}">首页</a></li>
<@_categoryList>
	<#list page.list as a>
				<li>
					<a href="${a.url!}"<#if a.onlyUrl> target="_blank"</#if>>${a.name}</a>
		<#if a.childIds?has_content>
					<ul>
			<@_categoryList parentId=a.id>
				<#list page.list as a>
						<li><a href="${a.url!}"<#if a.onlyUrl> target="_blank"</#if>>${a.name}</a></li>
				</#list>
			</@_categoryList>
					</ul>
		</#if>
				</li>
	</#list>
</@_categoryList>
			</ul>
		</nav>
		<div class="clearfix-before"></div>
	</div>
</header>